const fn = (state = {
  searchlist:[]
}, action) => {
  const { type, data } = action;
  switch (type) {
	case 'CHANGE_SEARCH_LIST':
	  state = {
		searchlist:data
	  }
	  return state;
	default:
      return state;
  }
}

export default fn;